<?php

/**
 * @Project NUKEVIET 3.4
 * @Author VINADES.,JSC (contact@vinades.vn)
 * @Copyright (C) 2010 - 2012 VINADES.,JSC. All rights reserved
 * @Createdate Thu, 25 Oct 2012 00:00:00 GMT
 */

if(!defined('NV_MAINFILE'))die('Stop!!!');

function getALLstudent( )
{
   global $module_data, $db;

   $data = array() ;
   $result = $db->sql_query( "SELECT `stt`, `hoten`, `ngaysinh`, `diachi` FROM " . NV_PREFIXLANG . "_" . $module_data . " ORDER BY stt ASC" );
   while ( list ( $stt, $hoten, $ngaysinh, $diachi ) = $db->sql_fetchrow($result) )
   {
      $data[] = array (
         "stt" => $stt,
         "hoten" => $hoten,
         "ngaysinh" => date ( "d/m/Y", $ngaysinh ),
         "diachi" => $diachi
      );
   }
   return $data ;
}  
?>